<?php if (isset($socDesc)): ?>
<fieldset id="socTest">
<legend>выберете одно из двух пунктов максимально приблеженным к вам</legend>
<?php echo $form->create('testdata', array('url'=>'/soctests', 'id'=>'socTestForm')) ?>

<?php echo $form->radio('ei', array('e'=>$socDesc['e'], 'i'=>$socDesc['i']), array('legend'=>' ')) ?>
<?php echo $form->radio('sn', array('s'=>$socDesc['s'], 'n'=>$socDesc['n']), array('legend'=>' ')) ?>
<?php echo $form->radio('ft', array('f'=>$socDesc['f'], 't'=>$socDesc['t']), array('legend'=>' ')) ?>
<?php echo $form->radio('pj', array('p'=>$socDesc['p'], 'j'=>$socDesc['j']), array('legend'=>' ')) ?>

<?php //echo $form->radio('ei', array('e'=>$socDesc['e'], 'i'=>$socDesc['i']), array('legend'=>$socDesc['ei'])) ?>
<?php //echo $form->radio('sn', array('s'=>$socDesc['s'], 'n'=>$socDesc['n']), array('legend'=>$socDesc['sn'])) ?>
<?php //echo $form->radio('ft', array('f'=>$socDesc['f'], 't'=>$socDesc['t']), array('legend'=>$socDesc['ft'])) ?>
<?php //echo $form->radio('pj', array('p'=>$socDesc['p'], 'j'=>$socDesc['j']), array('legend'=>$socDesc['pj'])) ?>

<?php echo $form->end('ok') ?>
</fieldset>

<?php endif ?>
